The GRIB_FIND_NEAREST procedure finds the four nearest points of a latitude/longitude point.
GRIB_FIND_NEAREST, Ghandle, Lon, Lat [, MODE=Array] [, LATITUDES=Array] [, LONGITUDES=Array] [, INDEXES=Array] [, VALUES=Array] [, DISTANCES=Array])
A GRIB handle.
Longitude of the point for which to search.
Latitude of the point for which to search.
Set this keyword to the numeric mode. The default value is 4 (GRIB_NEAREST_SAME_POINT).
Mode Values |
Description |
---|---|
1 | GRIB_NEAREST_SAME_GRID |
4 | GRIB_NEAREST_SAME_POINT |
The value can be ORed together. For example, MODE=5 sets both modes.
Returns an array of latitude values of the nearest points.
Returns an array of longitude values of the nearest points.
Returns an array of indexes of the nearest points.
Returns an array of values of the nearest points.
Returns an array of distance values from the nearest points.
See GRIB_GET_VALUESfor a general example using the GRIB routines.
8.1 |
Introduced |